<script src="http://www.google.com/jsapi"></script>
<script language="javascript" type="text/javascript">
  google.load("jquery", "1.2");
</script>

{% if user %}
<link rel="stylesheet" href="/{{ config.url_js }}/jquery/jquery.wysiwyg.css" type="text/css" media="screen" />
<script type="text/javascript" src="/{{ config.url_js }}/jquery/jquery.wysiwyg.js"></script>
<script language="javascript" type="text/javascript">
$(function()
{
    $('#wysiwyg').wysiwyg();
});
{% if admin %}
$('#wysiwyg').wysiwyg({
    controls : {
        separator04 : { visible : true },
        insertOrderedList : { visible : true },
        insertUnorderedList : { visible : true },
        html : { visible : true }
    }
});
{% endif %}
</script>  
{% endif %}  

<link type="text/css" rel="stylesheet" href="/{{ config.url_js }}/syntaxhighlighter/SyntaxHighlighter.css"></link>
<script language="javascript" type="text/javascript" src="/{{ config.url_js }}/syntaxhighlighter/shCore.js"></script>
<script language="javascript" type="text/javascript" src="/{{ config.url_js }}/syntaxhighlighter/shBrushPython.js"></script>
